package com.ruoyi.communal.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 常见问题对象 common_problem
 * 
 * @author ruoyi
 * @date 2025-01-06
 */
public class CommonProblem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 问题id */
    private Long id;

    /** 问题内容 */
    @Excel(name = "问题内容")
    private String problemContent;

    /** 问题答案 */
    @Excel(name = "问题答案")
    private String problemAnswer;

    /** 删除 */
    private String del;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProblemContent(String problemContent) 
    {
        this.problemContent = problemContent;
    }

    public String getProblemContent() 
    {
        return problemContent;
    }
    public void setProblemAnswer(String problemAnswer) 
    {
        this.problemAnswer = problemAnswer;
    }

    public String getProblemAnswer() 
    {
        return problemAnswer;
    }
    public void setDel(String del) 
    {
        this.del = del;
    }

    public String getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("problemContent", getProblemContent())
            .append("problemAnswer", getProblemAnswer())
            .append("del", getDel())
            .toString();
    }
}
